{% extends 'layout.html' %}
{% block content %}
    <div>
    <div class="container">
        <div class="panel panel-default">
            <div class="panel-heading">
                <a href="" class="btn btn-primary">
                    <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span>
                    修改靓号
                </a>
            </div>

            <div class="panel-body">
                <form method="post" >
                     {% for field in form %}
                    <div class="form-group">
                        <label>{{ field.label }}</label>
                        {{ field }}
                    <span style="color: red">{{ field.errors.0}}</span>
                    </div>
                     {% endfor %}
                    <button class="btn btn-primary" type="submit">保存</button>
                </form>
            </div>
        </div>


    </div>
</div>
{% endblock %}